package com.ghc;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.domain.EntityScan;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;

@SpringBootApplication
@EntityScan("com.ghc.entity")
//@EnableEurekaClient  //开启eureka client  （Eureka独有）
@EnableDiscoveryClient //开启注册中心客户端 （Eureka， nacos...）
                        //spring cloud Edgware版本之后就不需要添加了 建议添加
public class GhcResumeApplication8004NacosSentinelDubbo {
    public static void main(String[] args) {
        SpringApplication.run(GhcResumeApplication8004NacosSentinelDubbo.class, args);
    }
}
